create or replace type my_base_obj is object
(
  my_row_num number(10),
  constructor function my_base_obj return self as result,
  constructor function my_base_obj(my_row_num number) return self as result,
  member function to_string return varchar2
) instantiable not final;